package org.jeecg.modules.pacs.handle;

public enum ResultEnum {
    UNKONW_ERROR(-1, false, "查询不到信息"), SUCCESS(1, true, "成功");
    private Integer errorCode;
    private boolean success;
    private String errorMsg;

    ResultEnum(Integer errorCode, boolean success, String errorMsg) {
        this.errorCode = errorCode;
        this.success = success;
        this.errorMsg = errorMsg;
    }

    public Integer getErrorCode() {
        return errorCode;
    }

    public boolean getSuccess() {
        return success;
    }

    public String getErrorMsg() {
        return errorMsg;
    }
}
